package com.baigu.product.dao.mapper;

import com.baigu.product.dao.model.BgProduct;
import com.baigu.product.dao.model.BgProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BgProductMapper {
    long countByExample(BgProductExample example);

    int deleteByExample(BgProductExample example);

    int deleteByPrimaryKey(String id);

    int insert(BgProduct record);

    int insertSelective(BgProduct record);

    List<BgProduct> selectByExample(BgProductExample example);

    BgProduct selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BgProduct record, @Param("example") BgProductExample example);

    int updateByExample(@Param("record") BgProduct record, @Param("example") BgProductExample example);

    int updateByPrimaryKeySelective(BgProduct record);

    int updateByPrimaryKey(BgProduct record);
}